package com.example.course.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 班级视图对象，用于后端向前端返回数据
 *
 * @author Jasmine-drs
 * @date 2025/4/23 10:30
 */
@Data
@ApiModel(value = "ClassesVO", description = "班级视图对象")
public class ClassesVO {

	@ApiModelProperty("班级ID")
	private Integer id;

	@ApiModelProperty("班级名称")
	private String name;

	@ApiModelProperty("班级学生人数")
	private Integer studentCount;

	@ApiModelProperty("班主任ID")
	private Integer teacherId;

	@ApiModelProperty("班主任姓名")
	private String teacherName;
} 